import request from '@/utils/request'

const url = '/supervise/getAppointInfo'

/**
 *
 * @param {*} params  1.appointer 2.appointed 3.timeStart 4.timeEnd 5.province 6.city 7.pageSize 8.pageIndex
 * @returns
 */

export function req(params) {
  if (!params) {
    params = {
      pageSize: 10,
      pageIndex: 1
    }
  }
  return request({
    url,
    data: params,
    method: 'post',
    headers: {
      'Content-Type': 'application/json'
    }
  })
}
